package com.leo.chailv.entity;

import java.io.Serializable;

public class Travel implements Serializable {

    private Integer id;

    private String province;

    private String city;

    private String district;

    private String startDate;

    private String endDate;

    private String cause;

    private String level;

    private String train;

    private String ship;

    private String plane;

    private String foodMoney;

    private int timeDay;

    private String trafficMoney;

    private String stayMoney;

    public Travel(){}

    public Travel(String province, String city, String district, String startDate, String endDate, String cause, String level, String train, String ship, String plane, String foodMoney, String trafficMoney, String stayMoney,int timeDay) {
        this.province = province;
        this.city = city;
        this.district = district;
        this.startDate = startDate;
        this.endDate = endDate;
        this.cause = cause;
        this.level = level;
        this.train = train;
        this.ship = ship;
        this.plane = plane;
        this.foodMoney = foodMoney;
        this.trafficMoney = trafficMoney;
        this.stayMoney = stayMoney;
        this.timeDay = timeDay;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getTrain() {
        return train;
    }

    public void setTrain(String train) {
        this.train = train;
    }

    public String getShip() {
        return ship;
    }

    public void setShip(String ship) {
        this.ship = ship;
    }

    public String getPlane() {
        return plane;
    }

    public void setPlane(String plane) {
        this.plane = plane;
    }

    public String getFoodMoney() {
        return foodMoney;
    }

    public void setFoodMoney(String foodMoney) {
        this.foodMoney = foodMoney;
    }

    public String getTrafficMoney() {
        return trafficMoney;
    }

    public void setTrafficMoney(String trafficMoney) {
        this.trafficMoney = trafficMoney;
    }

    public String getStayMoney() {
        return stayMoney;
    }

    public void setStayMoney(String stayMoney) {
        this.stayMoney = stayMoney;
    }

    public int getTimeDay() {
        return timeDay;
    }

    public void setTimeDay(int timeDay) {
        this.timeDay = timeDay;
    }

    @Override
    public String toString() {
        return "Travel{" +
                "id=" + id +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", cause='" + cause + '\'' +
                ", level='" + level + '\'' +
                ", train='" + train + '\'' +
                ", ship='" + ship + '\'' +
                ", plane='" + plane + '\'' +
                ", foodMoney='" + foodMoney + '\'' +
                ", timeDay=" + timeDay +
                ", trafficMoney='" + trafficMoney + '\'' +
                ", stayMoney='" + stayMoney + '\'' +
                '}';
    }
}
